package com.yuyou.fn.educational.service;

import com.yuyou.fn.educational.entity.AttendanceRecord;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.AttendanceRecordDetail;
import com.yuyou.fn.educational.entity.StudentReg;
import com.yuyou.fn.educational.vo.AttendanceRecordDetailUpdateVo;

import java.util.List;

/**
 *
 * AttendanceRecord 表数据服务层接口
 *
 */
public interface IAttendanceRecordService extends ISuperService<AttendanceRecord,Long> {



    void createAttendanceRecordForStudent(List<StudentReg> studentRegList);

    void createAttendanceRecord(Long classId  ,Integer  lectureAmount);

    List<AttendanceRecord> findAttendanceRecordByClassId(Long classId);

    List<AttendanceRecordDetail> findAttendanceRecordDetailByRecordId(Long recordId);

    void updateAttendanceRecordDetail(Long recordId, List<AttendanceRecordDetailUpdateVo> details);

    void createAttendanceRecordForStudent(Long classId, Long studentId,String studentName);

    void deleteAttendanceRecordForStudent(Long classId, Long studentId,Integer startLectureNo , Integer endLectureNo);
}